package com.topisv.tms.repository.work;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;
import com.topisv.tms.entity.work.WorkLog;

/**
 * 作业日志_DAO
 * @author ch
 *
 */
public abstract interface WorkLogDao extends PagingAndSortingRepository<WorkLog, Long>, JpaSpecificationExecutor<WorkLog>
{

	@Query("select t from WorkLog t where t.batchCode=?")
	List<WorkLog> loadLogByBatchCode(String batchCode);

}